{% load gravatar %}
<tr id="posts-{{ post.id }}-row" class="post hentry">
  <td class="author vcard">
    <div class="date">
      <a rel="bookmark" href="#posts-{{ post.id }}">
      <abbr title="{{ post.created|date:"M d, Y I:mA" }}" class="updated">{{ post.created|timesince }} ago</abbr>
      </a>
  </div>
      <img width="32" height="32" src="{{ post.user.email|gravatar }}" class="photo" alt="Avatar"/>

    <img src="{{ SNAP_MEDIA_PREFIX }}/{{ post.avatar }}" />
    <span class="fn"><!-- <a class="postadmin" href="/users/{{ post.user.id }}"> -->{{ post.user }}<!-- </a> --></span>
    {% if post.user.is_staff %}
         <span class="posts">Administrator</span>
     {% else %}
         {% if post.user.moderator_set.all %}
             <span class="posts">Moderator</span>
         {% endif %}
     {% endif %}
    <span class="posts">{{ post.user.post_set.count }} posts</span>
  </td>

  <td id="post-body-5181" class="body entry-content">
      <p class="topic">
            Topic: <a href="{{ post.thread.category.get_absolute_url }}">{{ post.thread.category.name }}</a> / 
            <a href="{{ post.thread.get_absolute_url }}">{{ post.thread.title }}</a>
          </p>
        <div>{{ post.body|safe }}</div>
 </td>
  </tr>